import 'package:get/route_manager.dart';
import 'package:share_fit/app/controllers/space/friends/view.dart';
import 'package:share_fit/app/controllers/space/person/account_delete_view.dart';
import 'package:share_fit/app/controllers/space/person/person_avatar.dart';
import 'package:share_fit/app/controllers/space/person/person_view.dart';
import 'package:share_fit/app/controllers/space/question/question_detail_view.dart';
import 'package:share_fit/app/controllers/space/question/view.dart';
import 'package:share_fit/app/controllers/space/service/alipay_view.dart';
import 'package:share_fit/app/controllers/space/service/apple_health_view.dart';
import 'package:share_fit/app/controllers/space/service/googlefit_view.dart';
import 'package:share_fit/app/controllers/space/service/service_view.dart';
import 'package:share_fit/app/controllers/space/service/tmall_view.dart';
import 'package:share_fit/app/controllers/space/service/wechat_view.dart';
import 'package:share_fit/app/controllers/space/setting/about_view.dart';
import 'package:share_fit/app/controllers/space/setting/agreement_view.dart';
import 'package:share_fit/app/controllers/space/setting/private_view.dart';
import 'package:share_fit/app/controllers/space/setting/setting_unit_view.dart';
import 'package:share_fit/app/controllers/space/setting/setting_view.dart';
import 'package:share_fit/app/controllers/space/steps_view.dart';
import 'package:share_fit/app/controllers/space/target/target_view.dart';
import 'package:share_fit/app/controllers/space/train/train_view.dart';
import 'package:share_fit/app/controllers/space/weekly/weekly_view.dart';

class SpaceRoutes {
  static List<GetPage> getPages() {
    return routes;
  }

  static final routes = [
    GetPage(
      name: '/space/person',
      page: () => PersonPage(),),
    GetPage(
      name: '/space/steps',
      page: () => StepsPage(),),
    GetPage(
      name: '/space/service',
      page: () => ServicePage(),),
    GetPage(
      name: '/space/service/googlefit',
      page: () => GooglefitPage(),),
    GetPage(
      name: '/space/service/applehealth',
      page: () => AppleHealthPage(),),
    GetPage(
      name: '/space/service/tmall',
      page: () => TMallPage(),),
    GetPage(
      name: '/space/service/wechat',
      page: () => WeChatPage(),),
    GetPage(
      name: '/space/service/alipay',
      page: () => AliPayPage(),),
    GetPage(
      name: '/space/setting',
      page: () => SettingPage(),),
    GetPage(
      name: '/space/help',
      page: () => QuestionPage(),),
    GetPage(
      name: '/space/question',
      page: () => QuestionDetailPage(),),
    GetPage(
      name: '/space/setting/about',
      page: () => AboutPage(),),
    GetPage(
      name: '/space/setting/agreement',
      page: () => AgreementPage(),),
    GetPage(
      name: '/space/setting/private',
      page: () => PrivatePage(),),
    GetPage(
      name: '/space/setting/unit',
      page: () => SettingUnitPage(),),
    GetPage(
      name: '/space/traget',
      page: () => TargetPage(),),
    GetPage(
      name: '/space/train',
      page: () => TrainPage(),),
    GetPage(
      name: '/space/weekly',
      page: () => WeeklyPage(),),
    GetPage(
      name: '/space/person/avatar',
      page: () => PersonAvatar(),),
    GetPage(
      name: '/space/friends',
      page: () => FriendsPage(),),
    GetPage(
      name: '/space/account/del',
      page: () => AccountDeletePage(),)
  ];
}